write in code
英
美
[网络] 写代码
双语例句
- The easiest way to find out is to write a small set of JUnit tests in Java code rather than in Scala, so let's do that.
最简单的方法是用Java代码而不是Scala编写一组小型的JUnit测试,所以接下来我们就这样做。 - You can write a simple script in any other language that returns a similar response to test the JavaScript code.
您可以以其他任何语言编写一个简单的脚本,返回一个类似的响应来测试JavaScript代码。 - The goal is to write a FindBugs detector that will find all the places in the code that are making calls to the logging framework without being wrapped in a guard clause.
目标是编写一个FindBugs检测器,它将找出代码中调用日志框架而未被包装在监护子句中的所有地方。 - So really, the rule of thumb if you think back to Scratch is that any time you write a statement something that does something in one line of code you generally need the semicolon there.
实际上,根据经验,你们回忆一下在Scratch中,任何时候你们写一条语句-,处理一些操作的一行代码-,你们通常需要在那里加个分号。 - There are lots of systems that follow this pattern, where you write some modules/ components in source code then describe how they are connected using an external config file.
许多系统都遵循这种模式,在这些系统中,你编写一些模块/组件,然后通过一个外部配置文件定义他们之间的连接。 - When you write your test cases first, you get in the habit of writing only enough code to make the test case pass.
在编写测试用例时,您养成了很好的测试习惯,即只编写运行测试用例所需的最少代码。 - To write ( a message, for example) in code or cipher.
译成密码用电码或密码书写(如,信息) - I may want to write my code in UTF-8, but some Japanese programmer may want to write his code in Shift JIS.
我也许希望我的代码是UTF-8的,但是一些日本程序员希望它们的代码是ShiftJIS。 - Code analyzers, refactoring tools and automated refactorings, formatters and more, are difficult, if not impossible, to write in Ruby, because there is no way to parse Ruby source with Ruby code.
用Ruby写代码分析、重构工具和自动重构、格式程序等等甚至更多的工具并非不可能,但是很困难,因为还没有用Ruby代码分析Ruby源码的先例。 - Just as there are no rules that tell you exactly what comments to write in your code, there is no universal list of the "right" attributes.
正如没有哪条规则告诉你代码里的注释一定要怎么写才正确,也不存在“正确”属性的一个普适的列表。